<template>
  <!-- #ifdef H5 -->
  <el-avatar v-model="bindValue" v-bind="$attrs"></el-avatar>
  <!-- #endif -->
</template>
<script>
export default {
  inheritAttrs: false,
};
</script>
<script setup>
// #ifdef H5
import { ElAvatar } from "element-plus";
import "element-plus/theme-chalk/el-avatar.css";
// #endif
import { computed, watch, ref } from "vue";
const props = defineProps({
  modelValue: {
    type: Boolean,
  },
});
const emits = defineEmits(["update:modelValue"]);
const bindValue = computed({
  get() {
    return props.modelValue;
  },
  set(value) {
    emits("update:modelValue", value);
  },
});
</script>
<style lang="scss" scoped></style>
